package com.ruoyi.eqmonitor.phase1.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * @author ruoyi
 * @date 2023-03-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OptDevicePhase1 extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /** 编号 */
	@TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备名称-次 */
    @Excel(name = "设备名称-次")
    private String deviceNameVice;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCode;

    /** 站点id */
    @Excel(name = "站点id")
    private String siteId;

    /** 站点编码 */
    @Excel(name = "站点编码")
    private String siteCode;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String siteName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

    /** 设备类型-次 */
    @Excel(name = "设备类型-次")
    private String deviceTypeVice;

    /** 安装时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installTime;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal abx;

    /** 维度 */
    @Excel(name = "维度")
    private BigDecimal aby;

    /** GCJ02经 */
    @Excel(name = "GCJ02经")
    private String gcjX;

    /** GCJ02纬 */
    @Excel(name = "GCJ02纬")
    private String gcjY;

    /** WGS84经 */
    @Excel(name = "WGS84经")
    private String wgsX;

    /** WGS84纬 */
    @Excel(name = "WGS84纬")
    private String wgsY;

    /** 位置 */
    @Excel(name = "位置")
    private String address;

    /** 厂家 */
    @Excel(name = "厂家")
    private String manufactor;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 设备维护单位 */
    @Excel(name = "设备维护单位")
    private String maintainUnit;

    /** 设备维护人 */
    @Excel(name = "设备维护人")
    private String maintainPerson;

    /** 接入类型(GW,ND) */
    @Excel(name = "接入类型(GW,ND)")
    private String accessType;

    /** 设备掉线周期(小时) */
    @Excel(name = "设备掉线周期(小时)")
    private Long offLineTime;

    /** 真实的设备编码 */
    @Excel(name = "真实的设备编码")
    private String realDeviceCode;

    /** 图片文件id */
    @Excel(name = "图片文件id")
    private String imgId;

    /** 视频文件id */
    @Excel(name = "视频文件id")
    private String videoId;

    /** 监测时间 */
    @TableField(exist = false)
    private String monitorTime;

    /** 监测值 */
    @TableField(exist = false)
    private String monitorValue;

    /** 井深 */
    @TableField(exist = false)
    private String js;

}